import 'package:flutter/material.dart';
import '../../utils/router.dart';
class healthPage extends StatefulWidget {
  @override
  _healthPageState createState() => _healthPageState();
}

class _healthPageState extends State<healthPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('脉健康'),
      ),
      body: Center(
        child: FlatButton(
          child: Text('modal'),
          onPressed: ()=>{
            Router.modal(context, healthPage())
          },
        ),
      )
    );
  }

    @override
  void dispose() {
    // TODO: implement dispose
    super.dispose();
    print('脉健康销毁');
  }
}